StrToInt

Prototype:

function StrToInt(s: string): Longint;

Description:

The StrToInt function converts the string passed in S into a number.

Remarks:

Use of StrToIntDef instead of StrToInt is recommended.